﻿<html dir="LTR" xmlns:ndoc="urn:ndoc-schema">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta content="history" name="save" />
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
    <title>NoteOnOffMessage Constructor</title>
    <xml>
    </xml>
    <link rel="stylesheet" type="text/css" href="MSDN.css" />
  </head>
  <body id="bodyID" class="dtBODY">
    <div id="nsbanner">
      <div id="bannerrow1">
        <table class="bannerparthead" cellspacing="0">
          <tr id="hdr">
            <td class="runninghead">A MIDI Library for .NET</td>
            <td class="product">
            </td>
          </tr>
        </table>
      </div>
      <div id="TitleRow">
        <h1 class="dtH1">NoteOnOffMessage Constructor</h1>
      </div>
    </div>
    <div id="nstext">
      <p> Constructs a Note On/Off message. </p>
      <div class="syntax">
        <a href="Midi~Midi.NoteOnOffMessage.html">NoteOnOffMessage</a>(<br />   <a href="Midi~Midi.DeviceBase.html">DeviceBase</a> <i>device</i>,<br />   <a href="Midi~Midi.Channel.html">Channel</a> <i>channel</i>,<br />   <a href="Midi~Midi.Pitch.html">Pitch</a> <i>pitch</i>,<br />   <a href="">int</a> <i>velocity</i>,<br />   <a href="">float</a> <i>time</i>,<br />   <a href="Midi~Midi.Clock.html">Clock</a> <i>clock</i>,<br />   <a href="">float</a> <i>duration</i><br />);</div>
      <h4 class="dtH4">Parameters</h4>
      <dl>
        <dt>
          <i>device</i>
        </dt>
        <dd>The device associated with this message.</dd>
        <dt>
          <i>channel</i>
        </dt>
        <dd>Channel, 0..15, 10 reserved for percussion.</dd>
        <dt>
          <i>pitch</i>
        </dt>
        <dd>The pitch for this note message.</dd>
        <dt>
          <i>velocity</i>
        </dt>
        <dd>Velocity, 0..127.</dd>
        <dt>
          <i>time</i>
        </dt>
        <dd>The timestamp for this message.</dd>
        <dt>
          <i>clock</i>
        </dt>
        <dd>The clock that should schedule the off message.</dd>
        <dt>
          <i>duration</i>
        </dt>
        <dd>Time delay between on message and off messasge.</dd>
      </dl>
      <h4 class="dtH4">See Also</h4>
      <p>
        <a href="Midi~Midi.NoteOnOffMessage.html">NoteOnOffMessage Class</a> | <a href="~Midi.html">Midi Namespace</a></p>
      <hr />
      <div id="footer">
        <p>
          <a>Copyright © 2009 Tom Lokovic</a>
        </p>
        <p>Generated from assembly Midi [1.1.0.0] by <a href="http://ndoc3.sourceforget.net">NDoc3</a></p>
      </div>
    </div>
  </body>
</html>